package com.zhenmyan.secdeal.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhenmyan.secdeal.pojo.Order;
import com.zhenmyan.secdeal.pojo.User;
import com.zhenmyan.secdeal.vo.GoodsVo;
import com.zhenmyan.secdeal.vo.OrderDetailVo;

/**
 * description:
 *
 * @author 颜真明
 * @date 2023/5/11  6:54
 */
public interface OrderService extends IService<Order> {

    Order secDeal(User user, GoodsVo goodsVo);

    OrderDetailVo detail(Long orderId);

    String createPath(User user,Long goodsId);

    boolean checkPath(User user,Long goodsId,String path);

}
